gtk4.git
21 years agoAdd an "activate_cursor_item" action signal and bind it to the return key.
Anders Carlsson [Sun, 4 Jul 2004 23:19:46 +0000 (23:19 +0000)]
Add an "activate_cursor_item" action signal and bind it to the return key.

2004-07-05  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkiconview.c: (gtk_icon_view_class_init),
(gtk_icon_view_real_select_cursor_item),
(gtk_icon_view_real_activate_cursor_item):
* gtk/gtkiconview.h:
Add an "activate_cursor_item" action signal
and bind it to the return key.

21 years agoAdd a simple file browser based on the icon view.
Anders Carlsson [Sun, 4 Jul 2004 20:35:35 +0000 (20:35 +0000)]
Add a simple file browser based on the icon view.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/gnome-fs-directory.png:
* demos/gtk-demo/gnome-fs-regular.png:
* demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store),
(sort_func), (create_store), (item_activated), (up_clicked),
(home_clicked), (do_iconview):
Add a simple file browser based on the icon view.

* gtk/gtk.h:
Add gtk/gtkiconview.h

* gtk/gtkiconview.c: (gtk_icon_view_layout),
(gtk_icon_view_item_new), (gtk_icon_view_item_activated):
Fix a few bugs discovered while writing the demo.

21 years agoActually integrate iconview docs.
Matthias Clasen [Sun, 4 Jul 2004 19:34:49 +0000 (19:34 +0000)]
Actually integrate iconview docs.

21 years agoFix a small issue
Anders Carlsson [Sun, 4 Jul 2004 16:08:01 +0000 (16:08 +0000)]
Fix a small issue

21 years agoAdd GtkIconView to the documentation.
Anders Carlsson [Sun, 4 Jul 2004 15:58:10 +0000 (15:58 +0000)]
Add GtkIconView to the documentation.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt:
* gtk/gtk.types:
Add GtkIconView to the documentation.

21 years agogtk/gtkiconview.c Add GtkIconView to the build, remove debugging output.
Anders Carlsson [Sun, 4 Jul 2004 15:56:55 +0000 (15:56 +0000)]
gtk/gtkiconview.c Add GtkIconView to the build, remove debugging output.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* gtk/Makefile.am:
* gtk/gtkiconview.c
* gtk/gtkiconview.h:
Add GtkIconView to the build, remove debugging output.

21 years agoFix the "selection_changed" signal to not get emitted twice in some cases.
Anders Carlsson [Sun, 4 Jul 2004 12:43:26 +0000 (12:43 +0000)]
Fix the "selection_changed" signal to not get emitted twice in some cases.

2004-07-04  Anders Carlsson  <andersca@gnome.org>

* configure.in:
* libegg/iconlist/eggiconlist.c: (egg_icon_list_expose),
(scroll_timeout), (egg_icon_list_motion),
(egg_icon_list_button_press), (egg_icon_list_update_rubberband),
(egg_icon_list_start_rubberbanding),
(egg_icon_list_stop_rubberbanding),
(egg_icon_list_unselect_all_internal),
(egg_icon_list_real_select_all),
(egg_icon_list_adjustment_changed), (egg_icon_list_item_free),
(egg_icon_list_select_item), (verify_items),
(egg_icon_list_row_changed), (egg_icon_list_row_inserted),
(egg_icon_list_row_deleted), (egg_icon_list_rows_reordered),
(egg_icon_list_select_all_between),
(egg_icon_list_move_cursor_up_down),
(egg_icon_list_move_cursor_page_up_down),
(egg_icon_list_move_cursor_left_right),
(egg_icon_list_move_cursor_start_end), (egg_icon_list_set_model),
(egg_icon_list_get_selected_items), (egg_icon_list_select_all),
(egg_icon_list_unselect_all):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (foreach_selected_remove):
Fix the "selection_changed" signal to not get emitted twice in some cases.
Also fix a bunch of issues reported by Jonathan.

21 years agoFix off-by-one error. GDate month is one-based and GtkCalendar month is
Matthias Clasen [Sun, 4 Jul 2004 05:31:45 +0000 (05:31 +0000)]
Fix off-by-one error. GDate month is one-based and GtkCalendar month is

Sun Jul  4 01:29:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c (gtk_calendar_drag_data_get):
(gtk_calendar_drag_data_received): Fix off-by-one error.
GDate month is one-based and GtkCalendar month is zero-based.
(#145134, William Jon McCann)

21 years agoDon't crash if somebody tries to move a node after itself in a list of
Matthias Clasen [Sun, 4 Jul 2004 05:12:47 +0000 (05:12 +0000)]
Don't crash if somebody tries to move a node after itself in a list of

Sun Jul  4 01:11:07 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreestore.c (gtk_tree_store_move): Don't crash if
somebody tries to move a node after itself in a list of
length 1.  (#145291, Sampo Nurmentaus)

21 years agoFix links to www.freedesktop.org. (#145210, Billy Biggs)
Matthias Clasen [Sun, 4 Jul 2004 03:46:24 +0000 (03:46 +0000)]
Fix links to freedesktop.org. (#145210, Billy Biggs)

Sat Jul  3 23:43:23 2004  Matthias Clasen  <maclas@gmx.de>

* docs/faq/gtk-faq.sgml:
* gtk/gtkwindow.c: Fix links to www.freedesktop.org.  (#145210,
Billy Biggs)

21 years agoFix a few things
Anders Carlsson [Sat, 3 Jul 2004 20:36:01 +0000 (20:36 +0000)]
Fix a few things

21 years agoFixes and stuff
Anders Carlsson [Sat, 3 Jul 2004 10:04:14 +0000 (10:04 +0000)]
Fixes and stuff

21 years agoDocument functions and fix a few bugs.
Anders Carlsson [Sat, 3 Jul 2004 08:01:34 +0000 (08:01 +0000)]
Document functions and fix a few bugs.

2004-07-03  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_add_move_binding),
(egg_icon_list_real_move_cursor), (egg_icon_list_new),
(egg_icon_list_new_with_model), (egg_icon_list_get_path_at_pos),
(egg_icon_list_selected_foreach),
(egg_icon_list_set_selection_mode),
(egg_icon_list_get_selection_mode), (egg_icon_list_set_model),
(egg_icon_list_get_model), (egg_icon_list_set_text_column),
(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
(egg_icon_list_get_markup_column),
(egg_icon_list_set_pixbuf_column),
(egg_icon_list_get_pixbuf_column), (egg_icon_list_select_path),
(egg_icon_list_unselect_path), (egg_icon_list_select_all),
(egg_icon_list_unselect_all), (egg_icon_list_path_is_selected),
(egg_icon_list_item_activated):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (foreach_selected_remove_func),
(foreach_selected_remove), (selection_changed), (main):
Document functions and fix a few bugs.

21 years agoReset current_width and current_height to 0 when ending the embedding.
Matthias Clasen [Sat, 3 Jul 2004 06:12:38 +0000 (06:12 +0000)]
Reset current_width and current_height to 0 when ending the embedding.

Sat Jul  3 02:09:51 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtksocket.c (gtk_socket_end_embedding): Reset current_width
and current_height to 0 when ending the embedding.  (#143675,
Nickolay V. Shmyrev)

21 years agoLet the cursor move to the right end of the entry text, even if it ends in
Matthias Clasen [Sat, 3 Jul 2004 05:50:40 +0000 (05:50 +0000)]
Let the cursor move to the right end of the entry text, even if it ends in

Sat Jul  3 01:48:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_move_visually): Let the cursor move
to the right end of the entry text, even if it ends in combining
marks.  (#141728, Theppitak Karoonboonyanan)

21 years agoCorrect the math to calculate bilinear weights. (#112412, Brian Cameron)
Matthias Clasen [Sat, 3 Jul 2004 05:29:03 +0000 (05:29 +0000)]
Correct the math to calculate bilinear weights. (#112412, Brian Cameron)

Sat Jul  3 00:41:44 2004  Matthias Clasen  <maclas@gmx.de>

* pixops/pixops.c (bilinear_box_make_weights): Correct the
math to calculate bilinear weights. (#112412, Brian Cameron)

21 years agoUnset the displayed row when unsetting the model. (#138560, Christian
Matthias Clasen [Sat, 3 Jul 2004 03:37:44 +0000 (03:37 +0000)]
Unset the displayed row when unsetting the model. (#138560, Christian

Fri Jul  2 23:34:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_unset_model): Unset the displayed
row when unsetting the model.  (#138560, Christian Persch)

21 years agoProperly align mask and pixbuf if a subarea is exposed. (#135423, fix by
Matthias Clasen [Sat, 3 Jul 2004 02:43:06 +0000 (02:43 +0000)]
Properly align mask and pixbuf if a subarea is exposed. (#135423, fix by

Fri Jul  2 22:41:27 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimage.c (gtk_image_expose): Properly align mask and
pixbuf if a subarea is exposed.  (#135423, fix by John Ehresman)

21 years agoAdd scroll events to the event mask, set a scroll_event handler. Handle
Matthias Clasen [Sat, 3 Jul 2004 01:51:17 +0000 (01:51 +0000)]
Add scroll events to the event mask, set a scroll_event handler. Handle

Fri Jul  2 21:40:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_realize): Add scroll events
to the event mask, set a scroll_event handler.
* gtk/gtknotebook.c (gtk_notebook_scroll): Handle scroll events
by switching tabs.  (#145244, Gabriel de Perthuis)

21 years agoAdd markup column support.
Anders Carlsson [Fri, 2 Jul 2004 13:20:16 +0000 (13:20 +0000)]
Add markup column support.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
(egg_icon_list_init), (egg_icon_list_set_property),
(egg_icon_list_get_property), (egg_icon_list_calculate_item_size),
(egg_icon_list_paint_item), (egg_icon_list_update_item_text),
(egg_icon_list_get_text_column), (egg_icon_list_set_markup_column),
(egg_icon_list_get_markup_column),
(egg_icon_list_set_pixbuf_column),
(egg_icon_list_get_pixbuf_column):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (fill_model), (create_model):
Add markup column support.

21 years agoUpdate icon list to use the tree model instead.
Anders Carlsson [Fri, 2 Jul 2004 12:04:49 +0000 (12:04 +0000)]
Update icon list to use the tree model instead.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init),
(egg_icon_list_init), (egg_icon_list_destroy),
(egg_icon_list_finalize), (egg_icon_list_set_property),
(egg_icon_list_get_property), (egg_icon_list_button_press),
(egg_icon_list_select_first_matching_item),
(egg_icon_list_maybe_begin_dragging_items),
(egg_icon_list_real_toggle_cursor_item),
(egg_icon_list_calculate_item_size),
(egg_icon_list_invalidate_sizes), (egg_icon_list_paint_item),
(egg_icon_list_item_new), (egg_icon_list_item_unref),
(egg_icon_list_get_item_text), (egg_icon_list_get_item_icon),
(egg_icon_list_get_item_at_pos), (egg_icon_list_get_path_at_pos),
(egg_icon_list_selected_foreach), (egg_icon_list_select_path),
(egg_icon_list_unselect_path), (egg_icon_list_path_is_selected),
(egg_icon_list_item_activated), (egg_icon_list_get_items),
(egg_icon_list_row_changed), (egg_icon_list_row_inserted),
(egg_icon_list_row_deleted), (egg_icon_list_rows_reordered),
(egg_icon_list_build_items), (egg_icon_list_set_model),
(egg_icon_list_get_model), (egg_icon_list_set_text_column),
(egg_icon_list_set_pixbuf_column):
* libegg/iconlist/eggiconlist.h:
* libegg/iconlist/testiconlist.c: (fill_model), (create_model),
(foreach_selected_print), (item_removed), (remove_selected),
(item_cb), (do_popup_menu), (main):
* libegg/util/eggmarshalers.list:
Update icon list to use the tree model instead.

21 years agoMake sure we check for a NULL model first.
Anders Carlsson [Fri, 2 Jul 2004 11:32:03 +0000 (11:32 +0000)]
Make sure we check for a NULL model first.

2004-07-02  Anders Carlsson  <andersca@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_set_model):
Make sure we check for a NULL model first.

21 years ago0.6.1
Raymond Penners [Thu, 1 Jul 2004 22:46:02 +0000 (22:46 +0000)]
0.6.1

21 years agoButton icons configurable, 0.6.1
Raymond Penners [Thu, 1 Jul 2004 21:30:16 +0000 (21:30 +0000)]
Button icons configurable, 0.6.1

21 years agoFix win32 build problem w/o wintab. Fixed #145242
J. Ali Harlow [Thu, 1 Jul 2004 10:05:15 +0000 (10:05 +0000)]
Fix win32 build problem w/o wintab. Fixed #145242

2004-07-01  J. Ali Harlow  <ali@juiblex.co.uk>

* gdk/win32/gdkinput-win32.c (_gdk_input_ungrab_pointer): Fix
win32 build problem w/o wintab.  Fixed #145242

21 years agoUse g_return_if_fail to make sure that the model is a GtkTreeModel.
Anders Carlsson [Wed, 30 Jun 2004 10:07:49 +0000 (10:07 +0000)]
Use g_return_if_fail to make sure that the model is a GtkTreeModel.

2004-06-30  Anders Carlsson  <andersca@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_set_model): Use
g_return_if_fail to make sure that the model is a GtkTreeModel.

21 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Tue, 29 Jun 2004 10:04:00 +0000 (10:04 +0000)]
Updated Lithuanian translation.

2004-06-29  Žygimantas Beručka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.

21 years agoDraw line with the current state, not GTK_STATE_NORMAL
Soeren Sandmann [Sun, 27 Jun 2004 01:13:13 +0000 (01:13 +0000)]
Draw line with the current state, not GTK_STATE_NORMAL

Sat Jun 26 17:41:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtk[hv]separator.c (gtk_[hv]separator_expose): Draw line with the
        current state, not GTK_STATE_NORMAL

        * gtk/gtkframe.c (gtk_frame_paint): Fix a rounding error

21 years agoMake sure the rubberband is updated when scrolling.
Soeren Sandmann [Sat, 26 Jun 2004 19:07:25 +0000 (19:07 +0000)]
Make sure the rubberband is updated when scrolling.

 Sat Jun 26 21:05:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* libegg/iconlist/eggiconlist.c (egg_icon_list_adjustment_changed):
Make sure the rubberband is updated when scrolling.

21 years agosmall color tweak. (#141173)
Soeren Sandmann [Sat, 26 Jun 2004 13:09:22 +0000 (13:09 +0000)]
small color tweak. (#141173)

Sat Jun 26 15:07:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c, gtk/gtkrc.c: small color tweak. (#141173)

21 years agoHandle _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. (#144851, Billy Biggs)
Matthias Clasen [Sat, 26 Jun 2004 05:17:59 +0000 (05:17 +0000)]
Handle _NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW. (#144851, Billy Biggs)

Sat Jun 26 01:15:40 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (set_initial_hints): Handle
_NET_WM_STATE_ABOVE and _NET_WM_STATE_BELOW.  (#144851,
Billy Biggs)

21 years agoPrevent unwanted recursion by resetting icon_set->cache before freeing the
Matthias Clasen [Sat, 26 Jun 2004 05:08:36 +0000 (05:08 +0000)]
Prevent unwanted recursion by resetting icon_set->cache before freeing the

Sat Jun 26 01:04:31 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (clear_cache): Prevent unwanted
recursion by resetting icon_set->cache before freeing
the cache.  (#144947, Tim Janik)

21 years agoAccept a NULL style.
Matthias Clasen [Sat, 26 Jun 2004 04:58:33 +0000 (04:58 +0000)]
Accept a NULL style.

Sat Jun 26 00:40:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.c (render_icon_name_pixbuf):
* gtk/gtkiconfactory.c (gtk_icon_set_render_icon):
* gtk/gtkstyle.c (gtk_default_render_icon): Accept a NULL
style.

21 years agoReflect the last change in the docs.
Matthias Clasen [Sat, 26 Jun 2004 04:05:25 +0000 (04:05 +0000)]
Reflect the last change in the docs.

Sat Jun 26 00:04:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the
last change in the docs.

21 years agoAllow passing NULL to unset the model. (#137211, patch by Mariano
Matthias Clasen [Sat, 26 Jun 2004 03:39:35 +0000 (03:39 +0000)]
Allow passing NULL to unset the model. (#137211, patch by Mariano

Fri Jun 25 23:35:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
* gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing
NULL to unset the model.  (#137211, patch by  Mariano Suárez-Alvarez)

Fri Jun 25 23:33:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the
placement policy for GtkComboBoxEntry to be: if it fits below,
place below, if it fits above place above, else place in the
larger space and scroll so that the scroll arrow appear at the
far end.  (#144362, David A. Knight)

21 years agoAvoid uninitialized use of &parent_iter. (#145007, John Finlay)
Matthias Clasen [Sat, 26 Jun 2004 02:57:32 +0000 (02:57 +0000)]
Avoid uninitialized use of &parent_iter. (#145007, John Finlay)

Fri Jun 25 22:49:58 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreestore.c (gtk_tree_store_move): Avoid uninitialized
use of &parent_iter. (#145007, John Finlay)

21 years agoreviewed by: Matthias Clasen <maclas@gmx.de>
Bastien Nocera [Fri, 25 Jun 2004 15:21:43 +0000 (15:21 +0000)]
reviewed by: Matthias Clasen <maclas@gmx.de>

2004-06-25  Bastien Nocera  <hadess@hadess.net>

reviewed by: Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkkeys-x11.c: (get_symbol), (update_keymaps),
(gdk_keymap_lookup_key), (translate_keysym): fix keys parsing when
the number of keysyms per keycode is odd. Fixes #144808.

21 years agoAvoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)
Matthias Clasen [Fri, 25 Jun 2004 14:58:59 +0000 (14:58 +0000)]
Avoid a crash if the font doesn't exist. (#144967, Yevgen Muntyan)

2004-06-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Avoid
a crash if the font doesn't exist.  (#144967, Yevgen Muntyan)

21 years agoCommit a forgotten fix.
Matthias Clasen [Fri, 25 Jun 2004 04:33:25 +0000 (04:33 +0000)]
Commit a forgotten fix.

21 years agoFix a typo, string change. (#139503, Baris Cicek)
Matthias Clasen [Fri, 25 Jun 2004 03:37:58 +0000 (03:37 +0000)]
Fix a typo, string change. (#139503, Baris Cicek)

Thu Jun 24 23:35:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_class_init): Fix a typo,
string change.  (#139503, Baris Cicek)

21 years agoFixed LTR translation
Alexander Shopov [Thu, 24 Jun 2004 08:12:18 +0000 (08:12 +0000)]
Fixed LTR translation

2004-06-24  Alexander Shopov  <ash@contact.bg>

        * bg.po: Fixed LTR translation

21 years agoFlip the y axes in the diagrams.
Matthias Clasen [Wed, 23 Jun 2004 01:59:40 +0000 (01:59 +0000)]
Flip the y axes in the diagrams.

Tue Jun 22 21:54:24 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf/composite.dia:
* gdk-pixbuf/composite.png: Flip the y axes in the diagrams.

21 years agoUse a Save or an Open stock button for the C-l dialog depending on the
Federico Mena Quintero [Wed, 23 Jun 2004 00:28:47 +0000 (00:28 +0000)]
Use a Save or an Open stock button for the C-l dialog depending on the

2004-06-22  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (location_popup_handler): Use a Save
or an Open stock button for the C-l dialog depending on the action
in which the file chooser operates.  Fixes #141753.

21 years agoFixes the GTK+ part of #142308:
Federico Mena Quintero [Tue, 22 Jun 2004 20:08:36 +0000 (20:08 +0000)]
Fixes the GTK+ part of #142308:

2004-06-22  Federico Mena Quintero  <federico@ximian.com>

Fixes the GTK+ part of #142308:

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_filename_to_path):
Use filename_to_path().
(gtk_file_system_unix_uri_to_path): Likewise.
(filename_to_path): Use remove_trailing_slash().

21 years agoImprove docs for the ::move_cursor signal.
Matthias Clasen [Tue, 22 Jun 2004 19:50:36 +0000 (19:50 +0000)]
Improve docs for the ::move_cursor signal.

* gtk/gtktextview.c (gtk_text_view_class_init): Improve docs
for the ::move_cursor signal.

21 years agoDocument the push_in parameter of GtkMenuPositionFunc.
Matthias Clasen [Tue, 22 Jun 2004 16:35:52 +0000 (16:35 +0000)]
Document the push_in parameter of GtkMenuPositionFunc.

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkmenu.sgml: Document the push_in parameter
of GtkMenuPositionFunc.

21 years agoMake example UTF-8 safe. (#143264, Tommi Komulainen)
Matthias Clasen [Tue, 22 Jun 2004 16:06:44 +0000 (16:06 +0000)]
Make example UTF-8 safe. (#143264, Tommi Komulainen)

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkeditable.sgml: Make example UTF-8
safe.  (#143264, Tommi Komulainen)

21 years agoAccept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)
Matthias Clasen [Tue, 22 Jun 2004 15:56:24 +0000 (15:56 +0000)]
Accept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)

* gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept
"<WINDOWTYPE>" as a valid accel path.  (#144427, Philip
Kendall)

21 years agoMake sure this gets defined for all backends, so linux-fb has a chance of
Matthias Clasen [Tue, 22 Jun 2004 15:34:02 +0000 (15:34 +0000)]
Make sure this gets defined for all backends, so linux-fb has a chance of

* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.

21 years agoDoc updates.
Matthias Clasen [Tue, 22 Jun 2004 15:29:29 +0000 (15:29 +0000)]
Doc updates.

21 years agoTypo fix. (#144750, Jeff Franks)
Matthias Clasen [Tue, 22 Jun 2004 14:26:42 +0000 (14:26 +0000)]
Typo fix. (#144750, Jeff Franks)

2004-06-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.h (GTK_ICON_THEME_GET_CLASS): Typo
fix.  (#144750, Jeff Franks)

21 years agoMerge from stable:
Michael Natterer [Mon, 21 Jun 2004 16:13:55 +0000 (16:13 +0000)]
Merge from stable:

2004-06-21  Michael Natterer  <mitch@gimp.org>

Merge from stable:

* gdk/x11/gdkdrawable-x11.[ch]: made convert_format() utility
function public as _gdk_x11_convert_to_format().

* gdk/x11/gdkcursor-x11.c (create_cursor_image): premultiply
the pixels from the GdkPixbuf when putting them in the
Xcursor image. Fixes bug #144350.

21 years agoAdditions.
Matthias Clasen [Mon, 21 Jun 2004 04:52:47 +0000 (04:52 +0000)]
Additions.

21 years agoNew functions to rotate pixbufs by multiples of 90 degrees and to flip
Matthias Clasen [Mon, 21 Jun 2004 04:52:24 +0000 (04:52 +0000)]
New functions to rotate pixbufs by multiples of 90 degrees and to flip

Mon Jun 21 00:44:51 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-transform.h:
* gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple):
* gdk-pixbuf-scale.c (gdk_pixbuf_flip): New functions to
rotate pixbufs by multiples of 90 degrees and to flip them
horizontally or vertically.

21 years agoRemove this unused function. (Patch by Jody Goldberg)
Matthias Clasen [Mon, 21 Jun 2004 04:10:07 +0000 (04:10 +0000)]
Remove this unused function. (Patch by Jody Goldberg)

Mon Jun 21 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_item_get_icon_list):
Remove this unused function.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:56 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_queue_draw_item):
Avoid warnings if items are selected before the icon list is
realized.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:16 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_button_press):
Fix a small problem in mode GTK_SELECTION_NONE.

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
move the focus without influencing the selection.

21 years agoLet ctrl key combinations move the focus without influencing the
Matthias Clasen [Mon, 21 Jun 2004 03:41:04 +0000 (03:41 +0000)]
Let ctrl key combinations move the focus without influencing the

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
move the focus without influencing the selection.

21 years agoForgotten files.
Matthias Clasen [Mon, 21 Jun 2004 02:46:03 +0000 (02:46 +0000)]
Forgotten files.

21 years agoHeader file reorganization. (#51999)
Matthias Clasen [Sun, 20 Jun 2004 05:11:57 +0000 (05:11 +0000)]
Header file reorganization.  (#51999)

21 years agoAdd a nice figure to the docs.
Matthias Clasen [Sat, 19 Jun 2004 05:45:55 +0000 (05:45 +0000)]
Add a nice figure to the docs.

21 years agoFixes
Matthias Clasen [Sat, 19 Jun 2004 01:21:59 +0000 (01:21 +0000)]
Fixes

21 years agoImplement keynav.
Matthias Clasen [Fri, 18 Jun 2004 05:17:01 +0000 (05:17 +0000)]
Implement keynav.

Fri Jun 18 01:15:33 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Implement keynav.

21 years agoWhen inserting a visible node, free the old path before creating the new
Federico Mena Quintero [Wed, 16 Jun 2004 21:38:47 +0000 (21:38 +0000)]
When inserting a visible node, free the old path before creating the new

2004-06-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemmodel.c (do_files_added): When inserting a
visible node, free the old path before creating the new one.
Fixes #144356.

21 years agoMake the tiff loader work with both libtiff 3.5.7 and libtiff 3.6.1.
Matthias Clasen [Wed, 16 Jun 2004 17:52:49 +0000 (17:52 +0000)]
Make the tiff loader work with both libtiff 3.5.7 and libtiff 3.6.1.

2004-06-16  Matthias Clasen  <mclasen@redhat.com>

* io-tiff.c: Make the tiff loader work with both
libtiff 3.5.7 and libtiff 3.6.1.  (#135541, Marco Ghirlanda)

21 years agoThe property editor, copied from testgtk.
Matthias Clasen [Wed, 16 Jun 2004 00:03:31 +0000 (00:03 +0000)]
The property editor, copied from testgtk.

Tue Jun 15 19:59:33 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/prop-editor.[hc]: The property editor,
copied from testgtk.

Tue Jun 15 19:57:44 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/testiconlist.c (main): Show off some more
features of the icon list: rtl layout, sorting, context menus.
Also add a property editor.

Tue Jun 15 20:01:49 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_layout_single_row):
Support rtl layout.

21 years agoMake GtkComboBox work without model. (#144198, Mariano Suárez-Alvarez)
Matthias Clasen [Tue, 15 Jun 2004 05:12:27 +0000 (05:12 +0000)]
Make GtkComboBox work without model. (#144198, Mariano Suárez-Alvarez)

Tue Jun 15 01:10:32 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c: Make GtkComboBox work without model.
(#144198, Mariano Suárez-Alvarez)

21 years agoDon't use contractions like "don't" or "isn't" in error messages. It isn't
Matthias Clasen [Sat, 12 Jun 2004 02:08:45 +0000 (02:08 +0000)]
Don't use contractions like "don't" or "isn't" in error messages. It isn't

Fri Jun 11 22:02:56 2004  Matthias Clasen  <maclas@gmx.de>

* io-gif.c, io-pnm.c, io-tga.c, io-xpm.c: Don't use
contractions like "don't" or "isn't" in error messages.
It isn't nice to use them in log entries either...
(#137774, Morten Welinder, patch by Alexander Winston)

21 years agoFixes #143578:
Federico Mena Quintero [Sat, 12 Jun 2004 00:49:02 +0000 (00:49 +0000)]
Fixes #143578:

2004-06-11  Federico Mena Quintero  <federico@ximian.com>

Fixes #143578:

* gtk/gtkfilesystemmodel.c (_gtk_file_system_model_add_editable):
Don't ref the editable node.
(_gtk_file_system_model_remove_editable): Don't unref the editable node.
(_gtk_file_system_model_remove_editable): Ahem, free the node.

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Added fields for edited_idle and edited_new_text.
(renderer_edited_cb): Queue the
creation of the folder in an idle handler.
(renderer_editing_canceled_cb): Likewise for the cancellation.
(gtk_file_chooser_default_finalize): Free the impl->edited_new_text.

21 years agoTypo fix.
Matthias Clasen [Fri, 11 Jun 2004 02:14:19 +0000 (02:14 +0000)]
Typo fix.

21 years agoFixes #144110, patch by Bastien Nocera <hadess@hadess.net>.
Federico Mena Quintero [Fri, 11 Jun 2004 00:11:58 +0000 (00:11 +0000)]
Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>.

2004-06-10  Federico Mena Quintero  <federico@ximian.com>

Fixes #144110, patch by Bastien Nocera <hadess@hadess.net>.

* gtk/gtkfilechooser.c (gtk_file_chooser_list_shortcut_folders):
Refer to gtk_file_chooser_add_shortcut_folder().
(gtk_file_chooser_list_shortcut_folder_uris): Refer to
gtk_file_chooser_add_shortcut_folder_uri().

21 years agoStart the drag before focusing the selected.day. Stop a beginning drag if
Matthias Clasen [Thu, 10 Jun 2004 04:38:08 +0000 (04:38 +0000)]
Start the drag before focusing the selected.day. Stop a beginning drag if

Thu Jun 10 00:36:15 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c (gtk_calendar_main_button): Start
the drag before focusing the selected.day.
* gtk/gtkcalendar.c (gtk_calendar_state_changed): Stop
a beginning drag if the widget becomes insensitive.

21 years agoStart spinning before calling arrow_action(), so that a signal handler
Matthias Clasen [Thu, 10 Jun 2004 04:09:33 +0000 (04:09 +0000)]
Start spinning before calling arrow_action(), so that a signal handler

* gtk/gtkcalendar.c (gtk_calendar_button_press): Start
spinning before calling arrow_action(), so that a signal
handler triggered from arrow_action() has a chance to
stop the spinning.  (#143966, Davyd Madeley)

21 years agoTypo fix.
Matthias Clasen [Thu, 10 Jun 2004 03:12:04 +0000 (03:12 +0000)]
Typo fix.

21 years agoRevert the "drag select" part of #141169. (#144011).
Soeren Sandmann [Wed, 9 Jun 2004 22:34:54 +0000 (22:34 +0000)]
Revert the "drag select" part of #141169. (#144011).

Thu Jun 10 00:22:51 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c: Revert the "drag select" part of
#141169. (#144011).

21 years agoUpdated Nepali translation
Pawan Chitrakar [Tue, 8 Jun 2004 13:26:28 +0000 (13:26 +0000)]
Updated Nepali translation

2004-06-08  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Updated Nepali translation

21 years agoHandle priv->model being NULL. (#143856, Mariano Suárez-Alvarez)
Matthias Clasen [Tue, 8 Jun 2004 03:14:58 +0000 (03:14 +0000)]
Handle priv->model being NULL. (#143856, Mariano Suárez-Alvarez)

Mon Jun  7 23:07:40 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_remeasure): Handle
priv->model being NULL.  (#143856, Mariano Suárez-Alvarez)

21 years agoRevert the patch from 2003/Sep/12. This kept DnD in tree views within
Federico Mena Quintero [Tue, 8 Jun 2004 02:31:04 +0000 (02:31 +0000)]
Revert the patch from 2003/Sep/12. This kept DnD in tree views within

2004-06-07  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtktreeview.c (gtk_tree_view_button_press): Revert the patch
from 2003/Sep/12.  This kept DnD in tree views within modal
dialogs from working, which is especially bad for the file
chooser.  Fixes #135168.

21 years agofix build
cinamod [Mon, 7 Jun 2004 13:58:09 +0000 (13:58 +0000)]
fix build

21 years agoMake the entry context menu work in editable text cells. The changes are
Matthias Clasen [Mon, 7 Jun 2004 04:04:27 +0000 (04:04 +0000)]
Make the entry context menu work in editable text cells. The changes are

Sun Jun  6 23:57:21 2004  Matthias Clasen  <maclas@gmx.de>

Make the entry context menu work in editable text cells. The changes are
based on a patch by Kristian Rietveld, which implemented an approach outlined
by Owen Taylor.  (#50075)

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): Ignore
focus out if the entry menu is posted.
(gtk_cell_renderer_text_populate_popup): Mark the entry menu as posted, and
set up a signal handler to clear the flag if the menu is unmapped.
(gtk_cell_renderer_text_popup_unmap): Clear the in_entry_menu flag, set up
a timeout to stop editing if the focus is lost.
(popdown_timeout): Stop editing if the entry doesn't have focus any more.
(gtk_cell_renderer_text_start_editing): Connect to the populate_popup signal
on the entry and keep a pointer to the entry.
(gtk_cell_renderer_text_editing_done): Disconnect from popuplate_popup, clear
the pointer to the entry.

21 years agoImprove the description of the ::language property. (#143802, Owen Taylor)
Matthias Clasen [Mon, 7 Jun 2004 03:28:23 +0000 (03:28 +0000)]
Improve the description of the ::language property. (#143802, Owen Taylor)

Sun Jun  6 23:24:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktexttag.c (gtk_text_tag_class_init): Improve the description
of the ::language property.  (#143802, Owen Taylor)

21 years agodisable icons in buttons
cinamod [Mon, 7 Jun 2004 02:11:50 +0000 (02:11 +0000)]
disable icons in buttons

21 years agoAdd an ignore_enter flag and use it as in the menu code to avoid the
Matthias Clasen [Sun, 6 Jun 2004 03:17:45 +0000 (03:17 +0000)]
Add an ignore_enter flag and use it as in the menu code to avoid the

Sat Jun  5 23:07:30 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c: (gtk_entry_completion_init),
(gtk_entry_completion_list_enter_notify),
(gtk_entry_completion_list_motion_notify),
(_gtk_entry_completion_popup), (_gtk_entry_completion_popdown):
* gtk/gtkentryprivate.h: Add an ignore_enter flag and
use it as in the menu code to avoid the initial selection if
the window pops up under the pointer.  (Anders Carlsson)

21 years agoAdd a checkbox to queue an merge/unmerge. Patch from Matthias Clasen.
Soeren Sandmann [Sat, 5 Jun 2004 18:24:53 +0000 (18:24 +0000)]
Add a checkbox to queue an merge/unmerge. Patch from Matthias Clasen.

Sat Jun  5 20:05:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/testmerge.c: Add a checkbox to queue an
merge/unmerge. Patch from Matthias Clasen.

* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Add a new flag
"need_rebuild"
(rebuild_menu): New function that rebuilds the overflow menu and
makes sure it doesn't start or end with a separator.
(toolbar_content_new_tool_item)
(toolbar_content_remove)
(toolbar_content_new_compatibility): Set the rebuild_needed flag
(gtk_toolbar_size_allocate): Only show the overflow arrow when we
have actually overflown an item with a proxy menu item. Also make
sure we rebuild the menu if needed.

Fix #125504, #142377, #143463

* gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose):
Obey the "priv->draw" flag. (#143692)

21 years agoConvert filenames to UTF-8 when embedding them in error messages.
Matthias Clasen [Sat, 5 Jun 2004 05:16:18 +0000 (05:16 +0000)]
Convert filenames to UTF-8 when embedding them in error messages.

Sat Jun  5 00:59:12 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-io.c: Convert filenames to UTF-8 when embedding
them in error messages.  (#143654, Sven Neumann)

21 years agoAdd a note about the !CAN_FOCUS quirk in the button size allocation code.
Matthias Clasen [Sat, 5 Jun 2004 03:58:50 +0000 (03:58 +0000)]
Add a note about the !CAN_FOCUS quirk in the button size allocation code.

2004-06-04  Matthias Clasen  <mclasen@redhat.com>

* docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
quirk in the button size allocation code.

* gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
requested for drawing the focus indicator to the child in the
!CAN_FOCUS case. This should fix issues which the Gimp has with
the button allocation changes in 2.4.2.

21 years agoCalculate the length of the entry contents in characters, not in bytes.
Matthias Clasen [Fri, 4 Jun 2004 01:19:55 +0000 (01:19 +0000)]
Calculate the length of the entry contents in characters, not in bytes.

Thu Jun  3 21:17:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_timeout): Calculate the
length of the entry contents in characters, not in bytes.

* gtk/gtkentry.c (paste_received): Don't pop up the completion
window on paste, noticed by Anders Carlsson.

21 years agoFix the al lowed values and default value for the ::active property.
Matthias Clasen [Fri, 4 Jun 2004 00:57:03 +0000 (00:57 +0000)]
Fix the al lowed values and default value for the ::active property.

Thu Jun  3 20:51:23 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the al lowed
values and default value for the ::active property.  (#143669,
Olivier Andrieu)

21 years agouse gtk_widget_get_child_requisition() instead of accessing
Michael Natterer [Thu, 3 Jun 2004 19:22:28 +0000 (19:22 +0000)]
use gtk_widget_get_child_requisition() instead of accessing

2004-06-03  Michael Natterer  <mitch@gimp.org>

* gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition()
instead of accessing item->image->allocation.width/height
directly. Makes widgets which only have a requisition set using
gtk_widget_set_size_request() work and fixes bug #142789.

21 years agoRevert previous commit. It caused the problem of sticky right click menus
Soeren Sandmann [Thu, 3 Jun 2004 00:15:48 +0000 (00:15 +0000)]
Revert previous commit. It caused the problem of sticky right click menus

Thu Jun  3 08:07:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c: Revert previous commit. It caused the problem
of sticky right click menus to return.

21 years agoFix the stay up algorithm for combo boxes to better handle the "click"
Soeren Sandmann [Wed, 2 Jun 2004 23:17:21 +0000 (23:17 +0000)]
Fix the stay up algorithm for combo boxes to better handle the "click"

Wed Jun  2 01:56:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * gtk/gtkmenu.c: Fix the stay up algorithm for combo boxes to
        better handle the "click" case. bug  Better fix for #141169.

21 years agofix inkscape's toolbar buttons, disable application theming if asked nicely, downgrad...
cinamod [Wed, 2 Jun 2004 19:53:55 +0000 (19:53 +0000)]
fix inkscape's toolbar buttons, disable application theming if asked nicely, downgrade gtk+ requirements

21 years agoBail out if the model is empty. Fixes #143536.
Federico Mena Quintero [Wed, 2 Jun 2004 19:21:06 +0000 (19:21 +0000)]
Bail out if the model is empty. Fixes #143536.

2004-06-02  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
model is empty.  Fixes #143536.

21 years agoDon't close the dialog on focus out of the size entry. (#143505, David
Matthias Clasen [Wed, 2 Jun 2004 18:18:42 +0000 (18:18 +0000)]
Don't close the dialog on focus out of the size entry. (#143505, David

2004-06-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
close the dialog on focus out of the size entry.  (#143505,
David Hawthorne)

21 years agoFix #138807.
Federico Mena Quintero [Wed, 2 Jun 2004 17:46:21 +0000 (17:46 +0000)]
Fix #138807.

2004-06-02  Federico Mena Quintero  <federico@ximian.com>

Fix #138807.

* gtk/fnmatch.c (_gtk_fnmatch): Take a no_leading_period argument.
(gtk_fnmatch_intern): Likewise; also implement this option.

* gtk/gtkprivate.h (_gtk_fnmatch): Updated prototype.

* gtk/gtkfilesel.c (find_completion_dir): Pass TRUE for the
no_leading_period argument of _gtk_fnmatch().
(attempt_file_completion): Likewise.

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Pass FALSE for the
no_leading_period argument of _gtk_fnmatch().

21 years agoRemove leftover debug code.
Matthias Clasen [Wed, 2 Jun 2004 04:47:55 +0000 (04:47 +0000)]
Remove leftover debug code.

Wed Jun  2 00:47:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkselection.c (_gtk_selection_request): Remove leftover
debug code.

21 years agoDon't allow unless selection mode is multiple. (#142634, John Finlay)
Matthias Clasen [Wed, 2 Jun 2004 04:17:41 +0000 (04:17 +0000)]
Don't allow unless selection mode is multiple. (#142634, John Finlay)

Wed Jun  2 00:17:07 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
allow unless selection mode is multiple.  (#142634, John Finlay)

21 years agoRename function parameters from index to index_ to prevent clash with BSD
Matthias Clasen [Wed, 2 Jun 2004 03:16:03 +0000 (03:16 +0000)]
Rename function parameters from index to index_ to prevent clash with BSD

Tue Jun  1 23:14:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktoolbar.h:
* gtk/gtktoolbar.c:
* gtk/gtkentrycompletion.h:
* gtk/gtkentrycompletion.c:
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Rename function parameters from
index to index_ to prevent clash with BSD index().  (#143001)

21 years agoHandle accel_closure being NULL on an accel label. (#139641, Sam
Matthias Clasen [Wed, 2 Jun 2004 02:48:50 +0000 (02:48 +0000)]
Handle accel_closure being NULL on an accel label. (#139641, Sam

Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
NULL on an accel label. (#139641, Sam Stephenson, patch by
Michael Natterer)

Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon
lookup finding icons in the wrong prefix.  (#143328,
Mark McLoughlin)

21 years agoMake menus only stay up if you release within 500 milliseconds.
Soeren Sandmann [Tue, 1 Jun 2004 22:47:14 +0000 (22:47 +0000)]
Make menus only stay up if you release within 500 milliseconds.

Wed Jun  2 00:39:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Make menus
only stay up if you release within 500 milliseconds.
(gtk_menu_shell_button_press): Set the activate_time to the event
time when a button is pressed.

* gtk/gtkmenu.c (gtk_menu_motion_notify, gtk_menu_enter_notify):
Interprete button releases as activate when we have seen both an
enter an a motion event.

21 years agoUpdated Bulgarian translation by Rostislav Raikov <zbrox@i-space.org>
Alexander Shopov [Tue, 1 Jun 2004 16:48:07 +0000 (16:48 +0000)]
Updated Bulgarian translation by Rostislav Raikov <zbrox@i-space.org>

2004-06-01  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Rostislav Raikov <zbrox@i-space.org>

21 years agoDon't insert a dummy node if there is no parent node. Fixes #143362.
Federico Mena Quintero [Tue, 1 Jun 2004 16:34:53 +0000 (16:34 +0000)]
Don't insert a dummy node if there is no parent node. Fixes #143362.

2004-06-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemmodel.c (do_files_removed): Don't insert a
dummy node if there is no parent node.  Fixes #143362.